/* vue */
import { Prop } from 'vue-property-decorator'
/* components */
import TaskAllotModalComponents from '@src/modules/task/components/TaskAllotModal/TaskAllotModalComponents'
/* entity */
import InitDataLoginUser from '@model/entity/InitDataLoginUser'
import Field from '@model/entity/Field'

class TaskAllotModalProps extends TaskAllotModalComponents {
  /* 是否是转派状态 */
  @Prop() readonly isReAllot: boolean | undefined
  /* 是否是复制工单 */
  @Prop() readonly isCopyTask: boolean | undefined
  /* 当前登录用户 */
  @Prop() readonly loginUser: InitDataLoginUser | undefined
  /* 工单信息 */
  @Prop() readonly task: any | undefined
  /* 异常列表 */ 
  @Prop({ default: ()=>[] }) readonly backList: string[] | undefined
  /* 超级管理员 */ 
  @Prop() readonly systemAdmin: boolean | undefined
  /* 工单字段列表 */
  @Prop() readonly fields: Field[] | undefined
  /* 工单计划开始时间 */
  @Prop() readonly planStartTime: any | undefined
  /* 工单计划完成时间 */ 
  @Prop() readonly planEndTime: any | undefined
  /* 转派原因是否必填 */ 
  @Prop() readonly notNull: boolean | undefined
  /* 调用弹框的页面 */
  @Prop() readonly source: string | undefined
}

export default TaskAllotModalProps